Object.prototype.myKeys = function (obj) {
    let res = []
    for (let key in obj) {
        obj.hasOwnProperty(key) && res.push(key)
    }
    return res
}
const obj1 = {
    'f': 1,
    's': '邓佳蕙'
}
console.log(Object.myKeys(obj1));